/**
 * 
 */
package com.music.service.playlists.dao;

import java.util.List;

import com.music.service.playlists.beans.Playlist;

/**
 * @author asanthan
 * 
 */
public interface PlaylistDAO {
	public boolean addPlaylist(final Long pMemberId, final String pPlaylistName);

	public boolean deletePlaylist(final Long pMemberId, final Long pPlaylistId);

	public List<Playlist> viewPlaylists(final Long pMemberId);

	public boolean addSongToPlaylist(final Long pPlaylistId,final Long pSongId, final int pSongPosition);

	public boolean deleteSongFromPlaylist(final Long pPlaylistId,final Long pSongId);

	public List<Playlist> getRecentPlaylists(final Long pMemberId,final int pSize);
	
	public Playlist getPlaylistInfoForMember(final Long pMemberId,final Long pPlaylistId);
}
